package com.ruoyi.webs.hzhelp.question.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问题对象 hz_help_question
 * 
 * @author ruoyi
 * @date 2021-10-03
 */
public class HzHelpQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String ID;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String REMARKS;

    /** 逻辑删除标记（0：显示；1：隐藏） */
    @Excel(name = "逻辑删除标记", readConverterExp = "0=：显示；1：隐藏")
    private String delFlag;

    /** 分类 */
    @Excel(name = "分类")
    private BigDecimal CATEGORYID;

    /** 标题 */
    @Excel(name = "标题")
    private String NAME;

    /** 正文 */
    @Excel(name = "正文")
    private String CONTENT;

    /** 是否推荐 */
    @Excel(name = "是否推荐")
    private BigDecimal RECOMMEND;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private BigDecimal HITS;

    public void setID(String ID) 
    {
        this.ID = ID;
    }

    public String getID() 
    {
        return ID;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setREMARKS(String REMARKS) 
    {
        this.REMARKS = REMARKS;
    }

    public String getREMARKS() 
    {
        return REMARKS;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCATEGORYID(BigDecimal CATEGORYID) 
    {
        this.CATEGORYID = CATEGORYID;
    }

    public BigDecimal getCATEGORYID() 
    {
        return CATEGORYID;
    }
    public void setNAME(String NAME) 
    {
        this.NAME = NAME;
    }

    public String getNAME() 
    {
        return NAME;
    }
    public void setCONTENT(String CONTENT) 
    {
        this.CONTENT = CONTENT;
    }

    public String getCONTENT() 
    {
        return CONTENT;
    }
    public void setRECOMMEND(BigDecimal RECOMMEND) 
    {
        this.RECOMMEND = RECOMMEND;
    }

    public BigDecimal getRECOMMEND() 
    {
        return RECOMMEND;
    }
    public void setHITS(BigDecimal HITS) 
    {
        this.HITS = HITS;
    }

    public BigDecimal getHITS() 
    {
        return HITS;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("REMARKS", getREMARKS())
            .append("delFlag", getDelFlag())
            .append("CATEGORYID", getCATEGORYID())
            .append("NAME", getNAME())
            .append("CONTENT", getCONTENT())
            .append("RECOMMEND", getRECOMMEND())
            .append("HITS", getHITS())
            .toString();
    }
}
